<input type="text" id="passwd" value="abcd" style="-webkit-text-security:disc;">

<script>
    document.getElementById("passwd").focus();
</script>